|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.NegotiationSession
negotiator.qualitymeasures.NegotiationSessionWrapper
public class NegotiationSessionWrapper
Converts a stored negotiation trace of the opponent to a negotiation session.
| Field Summary |
|---|
| Fields inherited from class negotiator.boaframework.NegotiationSession |
|---|
domain, opponentBidHistory, outcomeSpace, ownBidHistory, timeline, utilitySpace |
| Constructor Summary | |
|---|---|
NegotiationSessionWrapper(Trace trace,
java.lang.String mainPath)
Given a trace, and the path to the file where to load the utility profile, construct a negotiation session. |
|
| Method Summary | |
|---|---|
double |
getDiscountedUtility(Bid bid,
double time)
Returns the discounted utility of a bid given the bid and the time at which it was offered. |
double |
getDiscountFactor()
Returns the discount factor of the utilityspace. |
BidDetails |
getMaxBidinDomain()
Returns the best bid in the domain. |
BidDetails |
getMinBidinDomain()
Returns the worst bid in the domain. |
BidHistory |
getOwnBidHistory()
Returns the bidding history of the agent. |
double |
getTime()
Returns the normalized time (t = [0,1]) |
Timeline |
getTimeline()
|
| Methods inherited from class negotiator.boaframework.NegotiationSession |
|---|
getData, getDomain, getIssues, getOpponentBidHistory, getOutcomeSpace, getSessionData, getUtilitySpace, setData, setOutcomeSpace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NegotiationSessionWrapper(Trace trace,
java.lang.String mainPath)
trace - of the opponentmainPath - to the utility space| Method Detail |
|---|
public BidHistory getOwnBidHistory()
NegotiationSession
getOwnBidHistory in class NegotiationSessionpublic double getDiscountFactor()
NegotiationSession
getDiscountFactor in class NegotiationSessionpublic Timeline getTimeline()
getTimeline in class NegotiationSessionpublic double getTime()
NegotiationSession
getTime in class NegotiationSessionpublic BidDetails getMaxBidinDomain()
NegotiationSession
getMaxBidinDomain in class NegotiationSessionpublic BidDetails getMinBidinDomain()
NegotiationSession
getMinBidinDomain in class NegotiationSession
public double getDiscountedUtility(Bid bid,
double time)
NegotiationSession
getDiscountedUtility in class NegotiationSessionbid - which discount utility is requested.time - at which the bid was offered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||